package com.example.demo.service.impl;

import com.example.demo.entity.User;
import com.example.demo.service.SchedualServerHi;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by wangjialei on 2018/10/9.
 */
@Component
public class SchedualServerHiHystric implements SchedualServerHi {
    @Override
    public String sayHiFromClientOne(String name) {
        return "sorry "+name;
    }



    @Override
    public String get() {
        return "sorry ";
    }

    @Override
    public List<User> getAllUser() {
        return null;
    }

    @Override
    public List<User> getAllUserRedis() {
        return null;
    }
}
